<?php

define('DSN', 'mysql://ww:123qwe@localhost/wereword');
$manager = Doctrine_Manager::getInstance();
$manager->openConnection(DSN, 'doctrine');
$manager->setCollate('utf8_unicode_ci');
$manager->setCharset('utf8');
$manager->setAttribute(Doctrine::ATTR_MODEL_LOADING, Doctrine::MODEL_LOADING_CONSERVATIVE);

